Mollie\WooCommerce\Subscription\MollieSubscriptionGateway B

Total Complexity 82
Dependencies 21
Dependents 2
Total lines 781
Lines of code 438
Logical lines of code 237
Comment lines 165
Methods 22
Properties 4

Methods 22

Method Rating Maintainability Complexity Lines of code
scheduled_subscription_payment()
B
32 16 106
restore_mollie_customer_id_and_mandate()
A
39 14 60
update_subscription_status_for_direct_debit()
A
48 9 32
isTestModeEnabledForRenewalOrder()
S
55 5 19
updateFirstPaymentMethodToRecurringPaymentMethod()
S
54 4 21
__construct()
S
48 3 34
useAnyValidMandate()
S
57 4 17
addWcSubscriptionsFiltersForPayment()
S
54 3 26
validate_subscription_payment_meta()
S
67 4 7
is_available()
S
63 3 11
initialPaymentUsedOrderAPI()
S
66 3 8
updateScheduledPaymentOrder()
S
60 2 13
usePreviousMandate()
S
61 2 12
add_subscription_payment_meta()
S
55 1 22
initSubscriptionSupport()
S
60 1 15
process_payment()
S
64 2 10
getCurrentLocale()
S
79 1 3
getOrderMollieCustomerId()
S
79 1 3
delete_resubscribe_meta()
S
81 1 3
update_failing_payment_method()
S
70 1 6
process_subscription_payment()
S
76 1 4
delete_renewal_meta()
S
72 1 6